package com.nineclock.api.system;

import com.nineclock.common.entity.Result;
import com.nineclock.system.dto.SysCompanyContactConfigDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import java.util.List;

/**
 * @author 黑马程序员
 * @Company http://www.ithiema.com
 * @Version 1.0
 */
@Api(value = "企业通讯录字段的配置", tags = "系统服务", description = "企业通讯录字段的配置" )
public interface SysCompanyContactControllerApi {

    @ApiOperation(value = "新增企业通讯录的方法")
    public Result addCompanyContactConfig(SysCompanyContactConfigDTO companyContactConfigDTO);

    @ApiOperation(value = "查询并初始化企业通讯录字段")
    public Result<List<SysCompanyContactConfigDTO>> queryCompanyContactConfig();

    @ApiOperation("更新企业通讯录的状态")
    public Result updateCompanyContactConfig(Long id, Short status);
}
